<template>
  <div>
    <h1>App</h1>
    <!-- <TsInput v-model:username="username" v-model:modelValue="count"></TsInput> -->
    <TsInput v-model:username="username" v-model="count"></TsInput>
    {{ count }}
    <!-- <TsInput :username="username" @update:username="username = $event"></TsInput>
    {{ username }} -->
  </div>
</template>
<script setup>
import { ref } from 'vue';
import TsInput from './TsInput.vue';

const username = ref('jack');
const count = ref(100);
</script>

<style>
div {
  border: solid;
  padding: 10px;
}
</style>